package com.hxy.tradeservice;

import com.hxy.hmapi.client.CartClient;
import com.hxy.hmapi.client.ItemClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan(value = "com.hxy.tradeservice.mapper")
@EnableFeignClients(basePackageClasses = {ItemClient.class, CartClient.class})
public class TradeServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(TradeServiceApplication.class, args);
    }

}
